package com.collect.tanzania.zhiScene.zhiCollection.zhiMember.zhiPerformance;

import android.content.Context;

import com.collect.tanzania.zhiBase.BaseContract;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRPerformanceListEntity;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRGroupUserEntity;
import com.collect.tanzania.zhiBean.zhiSend.ZHISendEntity;
import com.collect.tanzania.zhiBean.zhiSend.ZHISPerfermanceEntity;

import java.util.ArrayList;

public class ZHIPerformanceMemberContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();
        /**
         * 获取案件列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetLatestPerfermanceListV3(ZHIRPerformanceListEntity zhirPerformanceListEntity, ZHISPerfermanceEntity zhisPerfermanceEntity);
        /**
         * 获取催收员列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetGroupUsers(ArrayList<ZHIRGroupUserEntity> zhirGroupUserEntityArrayList);
    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取案件列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getLatestPerfermanceListV3(Context context, ZHISPerfermanceEntity zhisPerfermanceEntity, boolean showDialog);
        /**
         * 获取催收员列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getGroupUsers(Context context, ZHISendEntity zhiSendEntity);
    }
}
